import 'package:flutter/material.dart';

class Header extends StatefulWidget {
  @override
  State createState() => _HeaderState();
}

class _HeaderState extends State<Header> {
  @override
  Widget build(BuildContext context) {
    return AppBar(
      title: Row(
        children: <Widget>[
          Text('我的'),
          Text('发现'),
          Text('朋友'),
          Text('视频'),
        ],
      ),
      actions: <Widget>[
        IconButton(
          onPressed: () => {},
          icon: Icon(Icons.search)
        )
      ],
      
    );
  }
}